<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2024/11/25
  Time: 16:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--jstl--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<img width="80px" src="Res/images/item/${admin.admin_profile_picture_src}" alt="">
    <%--EL表达式--%>
    <p>${admin.admin_nickname}</p>
    <h1>登录完成</h1>
<form action="getUser">
    <input type="text" name="queryName" placeholder="昵称">
    <input type="submit" value="查询">
</form>
    <table border="1">
        <tr>
            <th>编号</th>
            <th>账号</th>
            <th>昵称</th>
            <th>操作</th>
        </tr>
        <c:forEach var="user" items="${userList}">
            <tr>
                <td>${user.user_id}</td>
                <td>${user.user_name}</td>
                <td>${user.user_nickname}</td>
                <td><a href="editUser?user_id=${user.user_id}">编辑</a> </td>
            </tr>
        </c:forEach>
    </table>

</body>
</html>
